<template>
  <view class="membership">
    <superMember v-if="memberInfo?.memberType === 'PAID_MEMBER'" />
    <normalMember v-else />
  </view>
</template>

<script lang="ts" setup>
import { useUserStore } from '@/store/modules/user'
import normalMember from './normalMember.vue'
import superMember from './superMember.vue'
const memberInfo = useUserStore().getterMemberInfo
</script>

<style lang="scss" scoped>
@include b(membership) {
  padding: 41rpx 20rpx;
}
</style>
